package com.example.makerspace.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.makerspace.domain.AgencyProductRelationshipsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AgencyProductRelationshipsMapper extends BaseMapper<AgencyProductRelationshipsDO> {
    @Select("select distinct   username  from t_agency_product_relationships where  state ='可代理'")
    List<AgencyProductRelationshipsDO> selectByHavaAgecy();
}
